﻿using FluentValidation;

namespace Jinjia.Approve.Model
{
    public class JJFlowCommentSearchInput
    {
        public int id { get; set; }
        public string modular_key { get; set; }
        public string biz_order_id { get; set; }

    }

    public class JJFlowCommentSearchInputValidator : AbstractValidator<JJFlowCommentSearchInput>
    {
        public JJFlowCommentSearchInputValidator()
        {
            RuleFor(x => x.modular_key).NotNull().WithMessage("modular_key不能为空");
            RuleFor(x => x.biz_order_id).NotNull().WithMessage("biz_order_id不能为空");
        }
    }
}